package com.bdqn.service;

import com.bdqn.pojo.Dept;
import com.github.pagehelper.PageInfo;

public interface DeptService {
    PageInfo<Dept> selectPage(int pageNum, int pageSize, String dname);

    int addDept(Dept dept);

    int updateDept(Dept dept);

    int deleteDept(int id);

    int updateStatus(int deptId, String status);
}
